/// 静态常量
class Constants {
  // 根据配置选择数据源
  static final bool isLocalDataSourceEnabled = true;

  static String get STORAGE_FUNCTION_KEY => "function_key";

  static String MORE_MANAGER_TAG = "更多/管理";

  /*---------------------------------- 基础间隔 ----------------------------------*/
  static const double spaceMicro = 4.0; // 最小间隔
  static const double spaceSmall = 8.0; // 列表项间距
  static const double spaceBase = 16.0; // 标准间距
  static const double spaceMedium = 24.0; // 卡片间距
  static const double spaceLarge = 32.0; // 区块间距

  /*---------------------------------- 组件尺寸 ----------------------------------*/
  static const double appBarHeight = 56.0; // 导航栏高度
  static const double buttonHeight = 48.0; // 按钮高度
  static const double iconSize = 24.0; // 标准图标尺寸

  static const double px_0d5 = 0.5;
  static const double px_1 = 1.0;
  static const double px_2 = 2.0;
  static const double px_3 = 3.0;
  static const double px_4 = 4.0;
  static const double px_5 = 5.0;
  static const double px_6 = 6.0;
  static const double px_7 = 7.0;
  static const double px_8 = 8.0;
  static const double px_9 = 9.0;
  static const double px_10 = 10.0;
  static const double px_12 = 12.0;
  static const double px_14 = 14.0;
  static const double px_16 = 16.0;
  static const double px_18 = 18.0;
  static const double px_20 = 20.0;
  static const double px_24 = 24.0;
  static const double px_26 = 26.0;

/*---------------------------------- 域名筛选 ----------------------------------*/
  static const double domain_left_width = 100;
}
